<h1>Listing transactors</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Street</th>
	<th>City</th>
    <th>Postal code</th>
	<th>Country</th>
  </tr>

<% @transactors.each do |transactor| %>
  <tr>
    <td><%=h transactor.name %></td>
    <td><%=h transactor.street %></td>
    <td><%=h transactor.city %></td>
    <td><%=h transactor.postal_code %></td>
    <td><%=h transactor.country %></td>
    <td><%= link_to 'Show', transactor %></td>
    <td><%= link_to 'Edit', edit_transactor_path(transactor) %></td>
    <td><%= link_to 'Delete', transactor, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New transactor', new_transactor_path %>